package com.maoning.auth.feign;

import com.maoning.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author : 猫宁
 * @Date: 2022/3/31
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendSms")
    public R sendSms(@RequestParam("phone") String phone, @RequestParam("code")String code);

}
